package Moth;

public class mothTester {

	//Creates and Tests Moth
	public static void main(String[] args) {
		
		Moth deadBug = new Moth(0);
		
		deadBug.moveToLight(2);
		deadBug.moveToLight(5);
		deadBug.moveToLight(0);
		
		System.out.println(deadBug.getPosition());
		System.out.println("Expected: 1.5");

	}

}
